package br.ufpb.di.ppgi.persistencia.iquery;

import java.util.List;

import br.ufpb.di.ppgi.negocio.modelo.professorExterno.ProfessorExterno;
import br.ufpb.di.ppgi.persistencia.pagination.HibernateQueryPagedList;

public interface IProfessorExternoQuery extends IQuery {

	public abstract ProfessorExterno findByEmail(String email);

	public abstract Integer count();

	public abstract List<ProfessorExterno> listAll();
	
	public abstract ProfessorExterno get(Long id);

	public abstract HibernateQueryPagedList<ProfessorExterno> paginarByKey(String key);

	public abstract ProfessorExterno findByCPF(String cpf);

	public abstract boolean cpfExists(String cpf);
}